package ooday01;

public class Student {
    String name;
    int age;

    String address;
    char gender;
    Student() {
        sayHi();
    }
    void study() {

        System.out.println(name + "在学习....");
    }
    void sayHi() {
         String name = " dc";

        System.out.println("大家好，我叫: " + name + ",今年" + age + "了," + "家住" + address + ",性别" + gender);
    }
    void sayHello() {
        System.out.println(age);
    }
}

